#pragma once
#include "tabcontainer.h"
#include "RichEdit.h"
#include <memory>

using namespace std;
using namespace std::tr1;

class CRichEditTabView :
	public CTabView
{
private:
	shared_ptr<CRichEdit> m_richEdit;

public:
	CRichEditTabView(const wstring &title, const wstring &id) : CTabView(title, id)  {}
	
	virtual HWND Create(HWND hParent, HINSTANCE hInstance);
	virtual bool IsReadOnly() { return true; }
	shared_ptr<CRichEdit> GetRichEdit() const { return m_richEdit; }
	virtual void SetSize(RECT rect);
	virtual void Show();
};

